<div class="card">
    <div class="card-header">
        <h3 class="card-title">修改主机</h3>
    </div>
    <div class="card-body p-0">

        <form action="form.cgi?action=up_host" method="post">

            <div class="card-body">
                <input name="id" class="form-control" value="$id" style="display: none;" placeholder="id">

                <div class="form-group">
                    <label for="exampleInputEmail1">用户</label>
                    <input name="user" class="form-control" value="$user" placeholder="test01">
                </div>

                <div class="form-group">
                    <label for="exampleInputEmail1">密码</label>
                    <input name="password" class="form-control" value="$password" placeholder="test01">
                </div>

                <div class="form-group">
                    <label for="exampleInputEmail1">端口</label>
                    <input name="port" class="form-control" value="$port" placeholder="test01">
                </div>

                <div class="form-group">
                    <label for="exampleInputEmail1">主机名</label>
                    <input name="hostname" class="form-control" value="$hostname" placeholder="test01">
                </div>


                <!-- select -->
                <div class="form-group">
                    <label>选择组</label>
                    <select name="group" class="form-control">
                        <option>$group</option>

                    </select>
                </div>


                <div class="form-group">
                    <label for="exampleInputEmail1">主机</label>
                    <input name="host" class="form-control" value="$host" placeholder="test01">
                </div>

            </div>
            <div class="card-footer">
                <button type="submit" class="btn btn-primary">提交</button>
            </div>
        </form>



    </div>

</div>